#include <cstdlib>
#include <cstdio>
#include <iostream>
#include "octree.h"

int main()
{
    octree tree;

    //tree.alloc_children();

    unsigned int rgb=0xFF00FFFF;
    unsigned int normal=3553;

    tree.set_child(2, rgb, normal);

    printf("%i", (unsigned char)tree.valid);

    octree *tree2=tree.next_octree(2);

    //std::cout << std::endl << (tree2)->vox.normal << std::endl;

    return 0;
}
